﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 部门表
    /// </summary>
    [Table("Department")]
    public class Model_Department : Model_Base
    {
        /// <summary>
        /// 部门编号
        /// </summary>
        [Key()]
        [Required]
        [Column("ID")]
        public string ID { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        [Required]
        public string DepartmentName { get; set; }
    }
}
